package com.ljy.jymail;

//import io.seata.spring.boot.autoconfigure.SeataAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/*
* 1.全局逻辑删除规则 show_status 0-显示 1-删除
* 2.配置文件 加入 global-config-logic-delete-value
* 3.在对应字段添加注解@TableLogic
*
*
* 表单校验 JSR303
* 1)、给Bean添加校验注解
*
*
*
*
*
* 七：redisson作为分布锁框架
*
* */

@SpringBootApplication()
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.ljy.jymail.product.feign"})
@EnableCaching
@EnableRedisHttpSession
public class JymailProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(JymailProductApplication.class, args);
    }

}
